package thread;

/**
 * Title：
 * Description：
 * Created by Myth on 4/17/2017.
 */
public class ThreadB implements Runnable {
    private String name;
    public ThreadB(String name) {
        this.name = name;
    }
    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println(name + "运行，i = " + i);
        }
    }
}
